package main;

import java.awt.Rectangle;
import java.util.HashMap;
import java.util.Map;

public class Cells {

	public Rectangle recN = null;
	public Rectangle recB = null;

	public Cells(Rectangle _recN, Rectangle _recB) {
		recN = _recN;
		recB = _recB;
	}
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	// RECTANGLES in Normal
	final static Rectangle N_10_RIGHT = new Rectangle(969 + 36 * 9, 660, 31, 22);
	final static Rectangle N_9_RIGHT = new Rectangle(969 + 36 * 8, 660, 31, 22);
	final static Rectangle N_8_RIGHT = new Rectangle(969 + 36 * 7, 660, 31, 22);
	final static Rectangle N_7_RIGHT = new Rectangle(969 + 36 * 6, 660, 31, 22);
	final static Rectangle N_6_RIGHT = new Rectangle(969 + 36 * 5, 660, 31, 22);
	final static Rectangle N_5_RIGHT = new Rectangle(969 + 36 * 4, 660, 31, 22);
	final static Rectangle N_4_RIGHT = new Rectangle(969 + 36 * 3, 660, 31, 22);
	final static Rectangle N_3_RIGHT = new Rectangle(969 + 36 * 2, 660, 31, 22);
	final static Rectangle N_2_RIGHT = new Rectangle(969 + 36, 660, 31, 22);
	final static Rectangle N_1_RIGHT = new Rectangle(969, 660, 31, 22);

	final static Rectangle N_9_LEFT = new Rectangle(596 + 36 * 8, 660, 26, 22);
	final static Rectangle N_8_LEFT = new Rectangle(596 + 36 * 7, 660, 26, 22);
	final static Rectangle N_7_LEFT = new Rectangle(596 + 36 * 6, 660, 26, 22);
	final static Rectangle N_6_LEFT = new Rectangle(596 + 36 * 5, 660, 26, 22);
	final static Rectangle N_5_LEFT = new Rectangle(596 + 36 * 4, 660, 26, 22);
	final static Rectangle N_4_LEFT = new Rectangle(596 + 36 * 3, 660, 26, 22);
	final static Rectangle N_3_LEFT = new Rectangle(596 + 36 * 2, 660, 26, 22);
	final static Rectangle N_2_LEFT = new Rectangle(596 + 36, 660, 26, 22);
	final static Rectangle N_1_LEFT = new Rectangle(596, 660, 26, 22);

	// RECTANGLES in Battle
	final static Rectangle B_10_RIGHT = new Rectangle(969 + 36 * 9, 566, 26, 22);
	final static Rectangle B_9_RIGHT = new Rectangle(969 + 36 * 8, 566, 26, 22);
	final static Rectangle B_8_RIGHT = new Rectangle(969 + 36 * 7, 566, 26, 22);
	final static Rectangle B_7_RIGHT = new Rectangle(969 + 36 * 6, 566, 26, 22);
	final static Rectangle B_6_RIGHT = new Rectangle(969 + 36 * 5, 566, 26, 22);
	final static Rectangle B_5_RIGHT = new Rectangle(969 + 36 * 4, 566, 26, 22);
	final static Rectangle B_4_RIGHT = new Rectangle(969 + 36 * 3, 566, 26, 22);
	final static Rectangle B_3_RIGHT = new Rectangle(969 + 36 * 2, 566, 26, 22);
	final static Rectangle B_2_RIGHT = new Rectangle(969 + 36, 566, 26, 22);
	final static Rectangle B_1_RIGHT = new Rectangle(969, 566, 26, 22);

	final static Rectangle B_9_LEFT = new Rectangle(596 + 36 * 8, 566, 26, 22);
	final static Rectangle B_8_LEFT = new Rectangle(596 + 36 * 7, 566, 26, 22);
	final static Rectangle B_7_LEFT = new Rectangle(596 + 36 * 6, 566, 26, 22);
	final static Rectangle B_6_LEFT = new Rectangle(596 + 36 * 5, 566, 26, 22);
	final static Rectangle B_5_LEFT = new Rectangle(596 + 36 * 4, 566, 26, 22);
	final static Rectangle B_4_LEFT = new Rectangle(596 + 36 * 3, 566, 26, 22);
	final static Rectangle B_3_LEFT = new Rectangle(596 + 36 * 2, 566, 26, 22);
	final static Rectangle B_2_LEFT = new Rectangle(596 + 36, 566, 26, 22);
	final static Rectangle B_1_LEFT = new Rectangle(596, 566, 26, 22);
	//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

	// CELLS
	static Map<String, Cells> allCells = new HashMap<String, Cells>();
	
	static
	{
		allCells.put("l1", new Cells(N_1_LEFT, B_1_LEFT));
		allCells.put("l2", new Cells(N_2_LEFT, B_2_LEFT));
		allCells.put("l3", new Cells(N_3_LEFT, B_3_LEFT));
		allCells.put("l4", new Cells(N_4_LEFT, B_4_LEFT));
		allCells.put("l5", new Cells(N_5_LEFT, B_5_LEFT));
		allCells.put("l6", new Cells(N_6_LEFT, B_6_LEFT));
		allCells.put("l7", new Cells(N_7_LEFT, B_7_LEFT));
		allCells.put("l8", new Cells(N_8_LEFT, B_8_LEFT));
		allCells.put("l9", new Cells(N_9_LEFT, B_9_LEFT));

		allCells.put("r1", new Cells(N_1_RIGHT, B_1_RIGHT));
		allCells.put("r2", new Cells(N_2_RIGHT, B_2_RIGHT));
		allCells.put("r3", new Cells(N_3_RIGHT, B_3_RIGHT));
		allCells.put("r4", new Cells(N_4_RIGHT, B_4_RIGHT));
		allCells.put("r5", new Cells(N_5_RIGHT, B_5_RIGHT));
		allCells.put("r6", new Cells(N_6_RIGHT, B_6_RIGHT));
		allCells.put("r7", new Cells(N_7_RIGHT, B_7_RIGHT));
		allCells.put("r8", new Cells(N_8_RIGHT, B_8_RIGHT));
		allCells.put("r9", new Cells(N_9_RIGHT, B_9_RIGHT));
		allCells.put("r10", new Cells(N_10_RIGHT, B_10_RIGHT));
		
	}
	
	

}
